package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-11-28
 */
@Getter
public enum SexEnum implements IBaseEnum<Integer> {

    /**
     * 性别 0.无要求 1.男 2.女
     */
    NO_REQUIRED(0, "无要求"),
    MALE(1, "男"),
    FEMALE(2, "女");

    private final Integer value;

    private final String label;


    SexEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
